package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 
 * @TableName offer
 */
@Data
public class Offer implements Serializable {
    /**
     * id
     */
    private Integer offerId;

    /**
     * 人才主键
     */
    private Integer talentsId;

    /**
     * 部门
     */
    private Integer offerDepartment;

    /**
     * 岗位
     */
    private Integer offerPost;

    /**
     * 试用基本工资
     */
    private Integer offerSalary;

    /**
     * 转正基本工资
     */
    private BigDecimal offerFormalsalary;

    /**
     * 试用期/月
     */
    private String offerProbation;

    /**
     * 到岗时间
     */
    private Date offerDate;

    /**
     * offer发送日期
     */
    private Timestamp offerDates;

    /**
     * 到岗地点
     */
    private String offerPlace;

    /**
     * 状态
     */
    private String offerState;

    @TableField(exist = false)
    private Recruits recruits;
    @TableField(exist = false)
    private Talentpool talentpool;
    @TableField(exist = false)
    private SysDept dept;
    @TableField(exist = false)
    private SysPost post;

    public Integer getOfferId() {
        return offerId;
    }

    public void setOfferId(Integer offerId) {
        this.offerId = offerId;
    }

    public Integer getTalentsId() {
        return talentsId;
    }

    public void setTalentsId(Integer talentsId) {
        this.talentsId = talentsId;
    }

    public Integer getOfferDepartment() {
        return offerDepartment;
    }

    public void setOfferDepartment(Integer offerDepartment) {
        this.offerDepartment = offerDepartment;
    }

    public Integer getOfferPost() {
        return offerPost;
    }

    public void setOfferPost(Integer offerPost) {
        this.offerPost = offerPost;
    }

    public Integer getOfferSalary() {
        return offerSalary;
    }

    public void setOfferSalary(Integer offerSalary) {
        this.offerSalary = offerSalary;
    }

    public BigDecimal getOfferFormalsalary() {
        return offerFormalsalary;
    }

    public void setOfferFormalsalary(BigDecimal offerFormalsalary) {
        this.offerFormalsalary = offerFormalsalary;
    }

    public String getOfferProbation() {
        return offerProbation;
    }

    public void setOfferProbation(String offerProbation) {
        this.offerProbation = offerProbation;
    }

    public Date getOfferDate() {
        return offerDate;
    }

    public void setOfferDate(Date offerDate) {
        this.offerDate = offerDate;
    }

    public Timestamp getOfferDates() {
        return offerDates;
    }

    public void setOfferDates(Timestamp offerDates) {
        this.offerDates = offerDates;
    }

    public String getOfferPlace() {
        return offerPlace;
    }

    public void setOfferPlace(String offerPlace) {
        this.offerPlace = offerPlace;
    }

    public String getOfferState() {
        return offerState;
    }

    public void setOfferState(String offerState) {
        this.offerState = offerState;
    }

    public Talentpool getTalentpool() {
        return talentpool;
    }

    public void setTalentpool(Talentpool talentpool) {
        this.talentpool = talentpool;
    }

    public SysDept getDept() {
        return dept;
    }

    public void setDept(SysDept dept) {
        this.dept = dept;
    }

    public SysPost getPost() {
        return post;
    }

    public void setPost(SysPost post) {
        this.post = post;
    }
}